package com.hom.test;

import java.io.Serializable;

public class Student implements Serializable {
    private String name;
    private int stuAge;
    private String stuGender;

    public Student(String name, int stuAge, String stuGender) {
        this.name = name;
        this.stuAge = stuAge;
        this.stuGender = stuGender;
    }

    public Student() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getStuAge() {
        return stuAge;
    }

    public void setStuAge(int stuAge) {
        this.stuAge = stuAge;
    }

    public String getStuGender() {
        return stuGender;
    }

    public void setStuGender(String stuGender) {
        this.stuGender = stuGender;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", stuAge=" + stuAge +
                ", stuGender='" + stuGender + '\'' +
                '}';
    }
}
